package dmeo1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class test
{
    public static void main(String[] args)
    {
        AnnotationConfigApplicationContext an=new AnnotationConfigApplicationContext("dmeo1");
        user u=an.getBean(user.class);
        u.hello();
        person p=an.getBean(person.class);
        p.hello();
    }
}
